﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Extjs_ReGSharp.Interfaces;

namespace Extjs_ReGSharpTest.Stubs
{
	internal class DataObjectStub : IGridDisplayItem
	{
		#region Constructor

		internal DataObjectStub(int intFieldValue, string stringFieldValue, bool boolFieldValue, DateTime dateTimeFieldValue)
		{
			IntField = intFieldValue;
			BoolField = boolFieldValue;
			StringField = stringFieldValue;
			DateTimeField = dateTimeFieldValue;
		}

		#endregion

		#region Properties

		public int IntField { get; set; }

		public bool BoolField { get; set; }
	
		public string StringField { get; set; }

		public DateTime DateTimeField { get; set; }

		#endregion

		#region IGridDisplayItem Members

		public object ToDisplayDTO()
		{
			return this;
		}

		#endregion
	}
}
